package com.wonder.app.domain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;
import java.util.function.DoubleConsumer;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_sfc_optrpt_detail")
@ApiModel(value="t_sfc_optrpt_detail", description="工序汇报详情表")
public class SfcOptrptDetail extends
        Model<SfcOptrptDetail>{
    @TableId(value ="id", type = IdType.AUTO)
    @ApiModelProperty(name = "id" , value = "编号")
    private Long id;

    @TableField(value = "BillNo")
    @ApiModelProperty(name = "BillNo" , value = "工序汇报订单编号")
    private String BillNo;

    @TableField(value = "MaterialNo")
    @ApiModelProperty(name = "MaterialNo" , value = "物料编码")
    private String MaterialNo;

    @TableField(value = "MaterialName")
    @ApiModelProperty(name = "MaterialName" , value = "物料名称")
    private String MaterialName;

    @TableField(value = "Specification")
    @ApiModelProperty(name = "Specification" , value = "规格型号")
    private String Specification;

    @TableField(value = "UnitNo")
    @ApiModelProperty(name = "UnitNo" , value = "单位编码")
    private String UnitNo;

    @TableField(value = "UnitName")
    @ApiModelProperty(name = "UnitName" , value = "单位名称")
    private String UnitName;

    @TableField(value = "OperpNo")
    @ApiModelProperty(name = "OperpNo" , value = "工序号")
    private Long OperpNo;

    @TableField(value = "Describtion")
    @ApiModelProperty(name = "Describtion" , value = "工序说明")
    private String Describtion;

    @TableField(value = "QuaQty")
    @ApiModelProperty(name = "QuaQty" , value = "合格数量")
    private Double QuaQty;

    @TableField(value = "ProcessFailQty")
    @ApiModelProperty(name = "ProcessFailQty" , value = "工废数量")
    private Double ProcessFailQty;

    @TableField(value = "MaterialFailQty")
    @ApiModelProperty(name = "MaterialFailQty" , value = "料废数量")
    private Double MaterialFailQty;

    @TableField(value = "EndQty")
    @ApiModelProperty(name = "EndQty" , value = "完工数量")
    private Double EndQty;

    @TableField(value = "WorkTime")
    @ApiModelProperty(name = "WorkTime" , value = "工时")
    private Double WorkTime;

    @TableField(value = "Operator")
    @ApiModelProperty(name = "Operator" , value = "操作工")
    private String Operator;

    @TableField(value = "beginandend")
    @ApiModelProperty(name = "beginandend" , value = "首序末序")
    private int beginandend;


    @TableField(value = "UnQuaqty")
    @ApiModelProperty(name = "UnQuaqty" , value = "质检不合格数量")
    private Double UnQuaqty;

    @TableField(value = "InStockTime")
    @ApiModelProperty(name = "InStockTime" , value = "入库时间")
    private Date InStockTime;

    @TableField(value = "TrayNo")
    @ApiModelProperty(name = "TrayNo" , value = "托号")
    private String TrayNo;

    @TableField(value = "flot")
    @ApiModelProperty(name = "flot" , value = "批号")
    private String flot;
}
